package com.gxa.meiye.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.meiye.core.pojo.domain.PayAccountInfo;
import com.gxa.meiye.core.pojo.domain.TherapistInfo;
import com.gxa.meiye.core.pojo.entity.Therapist;


import com.gxa.meiye.core.pojo.vo.PayAccountInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chen
 * @date 2022/7/19 10:04
 */
public interface TherapistMapper extends BaseMapper<Therapist> {
    Integer updateStatusByID(@Param("id") Integer id, @Param("condition") String condition,
                             @Param("vaule") String vaule);

    Integer updateZfbAccountById(@Param("name") String name, @Param("account") String account,
                                 @Param("id") Integer id);


    PayAccountInfo queryByTherapistId(@Param("id") Integer id);

    TherapistInfo queryMyMessage(@Param("id") Integer id);

    List<String> queryEvaluate(@Param("id") Integer id, @Param("page") Integer page,
                               @Param("size") Integer size);

    Integer addPayAccount(PayAccountInfoVo payAccountInfoVo);

    Integer getTotal(Integer id);

    List<Integer> getGradeById(Integer id);

    Integer updateMyMess()
}
